package org.example.myleet.p747;

import org.example.myleet.Utils.Assert;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(1 == solution.dominantIndex(new int[]{3,6,1,0}));
        Assert.isTrue(-1 == solution.dominantIndex(new int[]{1,2,3,4}));
        Assert.isTrue(0 == solution.dominantIndex(new int[]{1}));
    }
}
